package com.kedsoft.andaily.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author LGP
 * @since 2019-04-10
 */
@TableName("pt_boardroom")
public class Boardroom implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String username;
    private String boardname;
    private Integer projectid;
    private String projectcode;
    private String projectname;
    private String voltmark;
    private String usertype;
    private String factoryname;
    private String factoryuser;
    private String factoryphone;
    private String volume;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @TableField(value = "checktime",strategy = FieldStrategy.IGNORED)
    private Date checktime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @TableField(value = "hwcwtime",strategy = FieldStrategy.IGNORED)
    private Date hwcwtime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @TableField(value = "kghdtime",strategy = FieldStrategy.IGNORED)
    private Date kghdtime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @TableField(value = "sbqstime",strategy = FieldStrategy.IGNORED)
    private Date sbqstime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @TableField(value = "hjqstime",strategy = FieldStrategy.IGNORED)
    private Date hjqstime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date tgtime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date stoptime;
    private Integer routerid;
    private String routername;
    private BigDecimal boardlng;
    private BigDecimal boardlat;
    private Integer status;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBoardname() {
        return boardname;
    }

    public void setBoardname(String boardname) {
        this.boardname = boardname;
    }

    public Integer getProjectid() {
        return projectid;
    }

    public void setProjectid(Integer projectid) {
        this.projectid = projectid;
    }

    public String getProjectcode() {
        return projectcode;
    }

    public void setProjectcode(String projectcode) {
        this.projectcode = projectcode;
    }

    public String getProjectname() {
        return projectname;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    public String getVoltmark() {
        return voltmark;
    }

    public void setVoltmark(String voltmark) {
        this.voltmark = voltmark;
    }

    public String getUsertype() {
        return usertype;
    }

    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    public String getFactoryname() {
        return factoryname;
    }

    public void setFactoryname(String factoryname) {
        this.factoryname = factoryname;
    }

    public String getFactoryuser() {
        return factoryuser;
    }

    public void setFactoryuser(String factoryuser) {
        this.factoryuser = factoryuser;
    }

    public String getFactoryphone() {
        return factoryphone;
    }

    public void setFactoryphone(String factoryphone) {
        this.factoryphone = factoryphone;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public Date getChecktime() {
        return checktime;
    }

    public void setChecktime(Date checktime) {
        this.checktime = checktime;
    }

    public Integer getRouterid() {
        return routerid;
    }

    public void setRouterid(Integer routerid) {
        this.routerid = routerid;
    }

    public String getRoutername() {
        return routername;
    }

    public void setRoutername(String routername) {
        this.routername = routername;
    }

    public BigDecimal getBoardlng() {
        return boardlng;
    }

    public void setBoardlng(BigDecimal boardlng) {
        this.boardlng = boardlng;
    }

    public BigDecimal getBoardlat() {
        return boardlat;
    }

    public void setBoardlat(BigDecimal boardlat) {
        this.boardlat = boardlat;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTgtime() {
        return tgtime;
    }

    public void setTgtime(Date tgtime) {
        this.tgtime = tgtime;
    }

    public Date getHwcwtime() {
        return hwcwtime;
    }

    public void setHwcwtime(Date hwcwtime) {
        this.hwcwtime = hwcwtime;
    }

    public Date getKghdtime() {
        return kghdtime;
    }

    public void setKghdtime(Date kghdtime) {
        this.kghdtime = kghdtime;
    }

    public Date getSbqstime() {
        return sbqstime;
    }

    public void setSbqstime(Date sbqstime) {
        this.sbqstime = sbqstime;
    }

    public Date getHjqstime() {
        return hjqstime;
    }

    public void setHjqstime(Date hjqstime) {
        this.hjqstime = hjqstime;
    }

    public Date getStoptime() {
        return stoptime;
    }

    public void setStoptime(Date stoptime) {
        this.stoptime = stoptime;
    }

    @Override
    public String toString() {
        return "Boardroom{" +
        ", id=" + id +
        ", username=" + username +
        ", boardname=" + boardname +
        ", projectid=" + projectid +
        ", projectcode=" + projectcode +
        ", projectname=" + projectname +
        ", voltmark=" + voltmark +
        ", usertype=" + usertype +
        ", factoryname=" + factoryname +
        ", factoryuser=" + factoryuser +
        ", factoryphone=" + factoryphone +
        ", volume=" + volume +
        ", checktime=" + checktime +
        ", hwcwtime=" + hwcwtime +
        ", kghdtime=" + kghdtime +
        ", sbqstime=" + sbqstime +
        ", hjqstime=" + hjqstime +
        ", tgtime=" + tgtime +
        ", stoptime=" + stoptime +
        ", routerid=" + routerid +
        ", routername=" + routername +
        ", boardlng=" + boardlng +
        ", boardlat=" + boardlat +
        ", status=" + status +
        "}";
    }
}
